// node.js

var app = require('./app');
var config = require('./config');

app.set('host', process.env.VMC_APP_HOST || config.host);
app.set('port', process.env.VMC_APP_PORT || config.port);

var server = app.listen(app.get('port'), function() {
  console.log('Express server listening on port ' + server.address().port);
});
